package core.rb.r;

import java.io.Serializable;
import java.util.ArrayList;

/*Author: John Archer, Contact: john.archer.jpa@gmail.com*/
public class PR implements Serializable{
    private int start,  end;
    private ArrayList<Pol> pols;
    private boolean reversed;
    private int i;

    public PR(int i, int s, int e, ArrayList <Pol> pols, boolean reversed) {
        this.start = s;
        this.end = e;
        this.pols = pols;
        this.reversed = reversed;
        this.i = i;
    }

    public int I(){return i;}
    public int getStart(){return start;}
    public int getEnd(){return end;}
    public boolean isRev(){return reversed;}
    public ArrayList <Pol> getPols(){return pols;}
}